{extend name="public:head"}
{block name="main"}

<table class="layui-hide" id="all" lay-filter="all" lay-data="{id: 'sousuo'}"></table>

<script>
    layui.use(['table','layer'], function(){
        var table = layui.table;
        var layer = layui.layer;
        table.render({
            elem: '#all'
            ,url:'/admin/Click/getClickApi'
            ,toolbar: '#toolbarDemo'
            ,cols: [[
                {type: 'checkbox', fixed: 'left'}
                ,{field:'id', title:'ID',  fixed: 'left', unresize: true, sort: true}
                ,{field:'click_num', title:'点击次数'}
                ,{field:'open_num', title:'申请次数'}
                ,{field:'today', title:'时间'}
                ,{field:'add_time', title:'添加时间'}
            ]]
            ,page: true
        });
    });
</script>


{/block}